package com.wulijie.composite;

/**
 * @Author cui
 * @Data
 */
public class CompositeClient {
    public static void main(String[] args) {
        OrgComposite university = new University("南工", "6669");
        OrgComposite college = new College("计算机学院", "123");
        OrgComposite department = new Department("计算机科学与技术", "计算机科学与技术");

        university.add(college);
        college.add(department);
        university.print();
    }
}
